package DAO;

import icms.ORM.UserInfo;

import java.sql.SQLException;
import java.util.List;

public interface IUserDAO {
	
	public UserInfo findUserById (Integer targetID, Integer selfClass, Boolean bSelf)throws SQLException;
	public Boolean saveUser(UserInfo user,Integer selfClass) throws Exception;
	public Boolean deleteUser(Integer targetID, Integer selfID) throws SQLException;
	public List listUser(Integer targetClass,Integer selfClass);
}
